package com.ruoyi.ums.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.ums.entity.MemberAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Arrays;
import java.util.List;

/**
 * <p>
 * 用户地址 服务类
 * </p>
 *
 * @author kenny
 * @since 2021-11-04
 */
public interface IMemberAddressService extends IService<MemberAddress> {

    List<MemberAddress> selectAddressListByMemberId(Long memberId);

    MemberAddress selectAddressDefaultByMemberId(Long memberId);

    int insertAddress(MemberAddress address);

    int updateAddress(MemberAddress address);

    int deleteAddressByIds(Long[] ids);
}
